#ifndef _XMMSPLAYER_H_
#define _XMMSPLAYER_H_
#include  <string>
#include  "Player.h"

// xmms
class CXmmsPlayer : public CPlayer
{
    private:
        bool (*xmms_remote_is_playing)(int);
        bool (*xmms_remote_is_paused)(int);
        int (*xmms_remote_get_output_time)(int);
        int (*xmms_remote_get_playlist_pos)(int);
        char *(*xmms_remote_get_playlist_title)(int, int);

        void* handle;
        bool m_isOK;

        bool Init();

    public:
        CXmmsPlayer();
        ~CXmmsPlayer();
        virtual bool IsOpen();
        virtual std::string GetMediaTitle();
        virtual int GetCurrentTime();
};

#endif
